<html>
<head>
<%@ include file="../includes/comun.jsp"%>
<script language="javascript" src="<%=request.getContextPath()%>/js/operatoria/PagarTarjeta.js<%=aleatorio%>"></script>
</head>
<body>
<c:choose>
<c:when test="${TRANSACCION_TARJETA eq '1'}">
<c:set var="titular" value="${tarjetaCliente.clienteTitular}"/>
<form name="form1" id="form1" method="post" action="<%=request.getContextPath()%>/confirmacioningreso.do?method=confirmarIngreso">
<table width="100%" align="center">
	<tr>
		<td valign="top"> 
			
				<table align="center" cellspacing="3" width="100%">
					<tr>
						<td colspan="6" class="cuadrotitle">Pagos a Cuenta de Tarjetas de Cr&eacute;dito
						<span class="calculadora"><img src="<%=request.getContextPath()%>/images/calculadora.png" style="width: 30px;height: 30px;" onclick="javascript:abrirCalculadora()" /></span>
						</td>
					</tr>
				</table>
				<table class="tblFormulario">					
					<tr >
						
						<td class="etiqueta" style="width:175px">Titular :</td>
						<td>
							<input type="text" name="txtTitular" id="txtTitular" value="${titular.nombreCompleto}" class="input" disabled="disabled" size="45" />
							<input type="hidden" name="hddNombreTitular" id="hddNombreTitular" value="${titular.nombreCompleto}"/>
							<input type="hidden" name="hddSegmento" id="hddSegmento" value="${titular.codigosegmentacion}"/>
						</td>
						<td></td>
						<td></td>
						
					</tr>
					<tr >
						
						<td class="etiqueta" style="width:175px">N&uacute;mero de Tarjeta :</td>
						<td><input type="text" name="txtNumeroTarjeta" id="txtNumeroTarjeta" value="${tarjetaCliente.numeroTarjetaCompleto}" class="input" disabled="disabled" size="25"/>
							<input type="hidden" name="hddNumeroTarjeta" id="hddNumeroTarjeta" value="${tarjetaCliente.numeroTarjetaCompleto}"/>
							<input type="hidden" name="hddDescripcionTarjeta" id="hddDescripcionTarjeta" value="${tarjetaCliente.descripciontarjeta}"/>
						</td>
						<td class="etiqueta" style="width:175px">Divisa :</td>
						<td><select name="selDivisa" id="selDivisa" class="editable" onchange="javascript:asignarFoco('txtImporteIngresado');">
							<option value="-1">--Seleccionar--</option>
							
							<c:forEach items="${datosOperacion.cajasAperturaPagoTarjetas}" var="caja">
									<option value="${caja.divisaId}">${caja.divisaNombre}</option>
							</c:forEach>
							
							
							
							<!--  indra:options descripcion="descripcion" value="valoralfanumerico" tipoparametro="TIPO_DIVISAS"/ -->
							
							</select>
							<input type="hidden" name="hddMoneda" id="hddMoneda"/>
						</td>
						
					</tr>
					<tr >
						
						<td class="etiqueta" style="width:175px">Importe :</td>
						<td><input type="text" name="txtImporteIngresado" id="txtImporteIngresado" class="inputImporte editable" onblur="formatearNumeroFormulario(this)" onkeypress="return fieldNumber(event,this)" onchange="javascript:calcularItf();" /></td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr >
						
						<td class="etiqueta" style="width:175px"><input type="checkbox" name="chkItf" id="chkItf" onclick="javascript:calcularItf();" class="editable" />ITF :</td>
						<td><input type="text" name="txtItf" id="txtItf" class="input2 monto editable" readonly="readonly"/>
							<input type="hidden" name="hddItf" id="hddItf"/>
						</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr >
						
						<td class="etiqueta" style="width:175px">Pago a la Tarjeta :</td>
						<td><input type="text" name="txtImporte" id="txtImporte" class="input2 monto editable" readonly="readonly"/>
							<input type="hidden" name="hddImporte" id="hddImporte"/>
						</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
					<tr >
						
						<td class="etiqueta" style="width:175px">Pago Total :</td>
						<td><input type="text" name="txtMontoTotal" id="txtMontoTotal" class="input2 monto editable" readonly="readonly"/>
							<input type="hidden" name="hddMontoTotal" id="hddMontoTotal"/>
						</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					</tr>
				</table>
			
			<input type="hidden" name="hddTransaccion" id="hddTransaccion" value="${transaccion}"/>
		</td>
	</tr>
	<tr>
		<td class="cuadrotitle">&nbsp;</td>
	</tr>
	<tr>
		<td align="center" >
			<%request.setAttribute("reniecVisible","false");%>
			<%@ include file="../includes/botonera.jsp"%>
		</td>
	</tr>
</table>
<%@ include file="../includes/impresionVoucher.jsp"%>
<%@ include file="../includes/ConfirmacionOperacion2.jsp"%>
<%@ include file="../includes/Calculadora.jsp"%>

</form>
</c:when>
<c:otherwise>
<jsp:include page="../includes/mensajeNoAccesoTarjeta.jsp"></jsp:include>
</c:otherwise>
</c:choose> 

</body>
</html>